package org.jberney.wvdexporter.util.prefs;

import java.util.prefs.Preferences;

public class WvdExporterPreferences {

	public static final String KEY_PREFS_NODE = "org.jberney.wvdexporter";
	public static final String KEY_BROWSER_MOVIE_PATH = "browser.movie.path";
	public static final String VALUE_DEFAULT_BROWSER_MOVIE_PATH = "/Applications/World of Warcraft";

	private Preferences preferences;

	public WvdExporterPreferences() {
		this.preferences = Preferences.userRoot().node(
				WvdExporterPreferences.KEY_PREFS_NODE);
	}

	public String getBrowserMoviePath() {
		return this.preferences.get(KEY_BROWSER_MOVIE_PATH,
				VALUE_DEFAULT_BROWSER_MOVIE_PATH);
	}

}
